<ion-view view-title="添加分类" class="mypbuy_edit">
	 <ion-content>
      <div class="list">
      	  <li class="item item-input">
      	  	<label class="input-label">分类名称</label>
      	  	<input type="text" placeholder="请输入分类名称" ng-model="scope.cat_name"/>
			</li>
			<div class="item item-input item-select" data-tap-disabled="true" style="padding:0 30px 0 15px;">
					<div class="input-label">上级分类</div>
					<div class="input-value" ng-click="doSelectCat1(2)">{{scope.cat_select.cat_name}}</div>
				</div>
      	<li class="item item-input">
      	  	<label class="input-label">排序</label>
      	  	<input type="text" placeholder="请输入序号，序号越小越靠前" ng-model="scope.p_order"/>
      	</li>
      	<li class="item item-input">
			<span class="input-label">分类图片</span>
			<a class="add input-file" href="javascript:void(0);"><span class="icon ion-plus" on-tap="addStoreImg()"></span></a>
			<span class="font-middle-my font-gray-my">像素为230*600</span>
		</li>
		<li class="item padding-0" ng-if="scope.cat_image.image!=null&&scope.cat_image.image!=''">
			<div class="imageShow">
				<img ng-src='{{scope.cat_image.image}}' on-tap="openFileActSheet()"/>
			</div>
		</li>
      </div>

	<div class="padding">
		<button class="button button-block button-assertive" on-tap="submit()">提交</button>
	</div>


	 </ion-content>
</ion-view>
